#ifndef QBASEKEYBOARD_H
#define QBASEKEYBOARD_H

#include "sharedlibglobal.h"

#include <QWidget>

namespace SHAREDLIB
{

    class SHAREDLIB_EXPORT QBaseKeyBoard : public QWidget
    {
        Q_OBJECT
    public:
        explicit QBaseKeyBoard(int width,int height,QWidget *parent);

        virtual  void   update_location();

        virtual  void   set_widget(QWidget* wid);

        void            set_capslock(bool capslock);
    protected:
        void    mouseReleaseEvent(QMouseEvent *);
    signals:
    protected:
        int     m_screen_width;
        int     m_screen_height;
    };

}

#endif // QBASEKEYBOARD_H
